<%@ page import="myapp.Alias" %>



<div class="fieldcontain ${hasErrors(bean: aliasInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="alias.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${aliasInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: aliasInstance, field: 'client', 'error')} required">
	<label for="client">
		<g:message code="alias.client.label" default="Client" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="client" name="client.id" from="${myapp.Client.list()}" optionKey="id" required="" value="${aliasInstance?.client?.id}" class="many-to-one"/>
</div>

